#ifndef DW_GRAPHICS_OPENGL_210_RENDER_WINDOW_H
#	define DW_GRAPHICS_OPENGL_210_RENDER_WINDOW_H

#if (DW_GRAPHICS_BACKEND != DW_GRAPHICS_BACKEND_OPENGL_210)
#	error "Invalid included file"
#endif // (DW_GRAPHICS_BACKEND != DW_GRAPHICS_BACKEND_OPENGL_210)

#include "graphics/rendertarget.h"

namespace dw {
	namespace graphics {
		namespace details {

class RenderWindow
:	public RenderTarget
{
public : //! @name RenderTarget state
	//! @{
	virtual bool isValid() const ;
	//! @}

private :
	explicit RenderWindow(Context* context);
	RenderWindow(const RenderWindow& src); // Not implemented to prevent copy
	RenderWindow& operator = (const RenderWindow& rhs); // Not implemented to prevent copy

	friend class Backend;

private :
	Context* m_context;
};

		} // namespace details
	} // namespace graphics
} // namespace dw

#include "graphics/opengl/210/renderwindow.inl"

#endif // !DW_GRAPHICS_OPENGL_210_RENDER_WINDOW_H
